gtk4.git
9 years agotestframe: Simplify initial setting of padding
Daniel Boles [Mon, 6 Mar 2017 23:59:17 +0000 (23:59 +0000)]
testframe: Simplify initial setting of padding

Just start with both dimensions’ paddings at 0.

9 years agotestframe: Add CheckButton to toggle border off/on
Daniel Boles [Mon, 6 Mar 2017 23:12:20 +0000 (23:12 +0000)]
testframe: Add CheckButton to toggle border off/on

We should test this.

9 years agotestframe: Order controls better & improve labels
Daniel Boles [Mon, 6 Mar 2017 23:03:37 +0000 (23:03 +0000)]
testframe: Order controls better & improve labels

The :label-widget is drawn before the child, so put the controls that
set the alignment of the :label-widget before those that pad the child.

We set (horizontal|vertical) padding, not "[xy]thickness". Also change
to "label [xy]align" & use grid spacing, not spaces at end of Labels.

9 years agotestframe: Minimise typecasts
Daniel Boles [Mon, 6 Mar 2017 22:55:49 +0000 (22:55 +0000)]
testframe: Minimise typecasts

9 years agotestframe: Set value before connecting callbacks
Daniel Boles [Mon, 6 Mar 2017 22:53:15 +0000 (22:53 +0000)]
testframe: Set value before connecting callbacks

The value comes from the widget, and we were setting this after
connecting the callback, which applies the value to the widget…

9 years agotestframe: Use a generic widget pointer
Daniel Boles [Mon, 6 Mar 2017 22:39:01 +0000 (22:39 +0000)]
testframe: Use a generic widget pointer

9 years agotestheightforwidth: Add missing unref
Daniel Boles [Mon, 6 Mar 2017 20:57:17 +0000 (20:57 +0000)]
testheightforwidth: Add missing unref

9 years agoFix the completely broken tests/testheightforwidth
Daniel Boles [Mon, 6 Mar 2017 20:29:04 +0000 (20:29 +0000)]
Fix the completely broken tests/testheightforwidth

This was ruined, with only 1 of the 8 subwindows rendering any content.

This commit fixes the responsible errors in the embedded GtkBuilder UIs:
 • Fix broken replace by commit fb3d9022ad98049c887cec5aeffd6b73deb043ba
   of HBox with a Box having a broken orientation <property>
 • Replace VBox and [HV]Paned with GtkOrientable successors (properly!)
 • Remove use of Button:use_action_appearance, as this no longer exists

This commit also adds error reporting, in case other errors creep into
the GtkBuilder UI definitions, plus cleanup for the Builders and Windows

9 years agoAdwaita: border for selmode checkboxes
Jakub Steiner [Mon, 6 Mar 2017 14:34:38 +0000 (15:34 +0100)]
Adwaita: border for selmode checkboxes

- there was an extra border for selection mode

9 years agomir: don't create GDK_INPUT_ONLY windows
William Hua [Sat, 4 Mar 2017 15:13:01 +0000 (10:13 -0500)]
mir: don't create GDK_INPUT_ONLY windows

9 years agoFrame: minor update to intro docs
Daniel Boles [Mon, 6 Mar 2017 07:24:17 +0000 (07:24 +0000)]
Frame: minor update to intro docs

This incorporates a couple of recent tweaks from gtk-3-22.

9 years agoQuartz: Implement gdk_window_set_functions
Matthias Clasen [Mon, 6 Mar 2017 03:52:03 +0000 (22:52 -0500)]
Quartz: Implement gdk_window_set_functions

This is useful, and easy to implement.

9 years agoUpdate Swedish translation
Anders Jonsson [Sun, 5 Mar 2017 21:21:56 +0000 (21:21 +0000)]
Update Swedish translation

9 years agowidget: Remove direction-dependent margin code
Timm Bäder [Sun, 5 Mar 2017 15:24:20 +0000 (16:24 +0100)]
widget: Remove direction-dependent margin code

Since margin-left and margin-right are gone, we don't have to care
about the difference between them and start/end anymore and we can just
save start as left and end as right.

9 years agowidget: Remove get_valign_with_baseline
Timm Bäder [Sun, 5 Mar 2017 14:18:32 +0000 (15:18 +0100)]
widget: Remove get_valign_with_baseline

This only existed for backwards compat reasons which aren't interesting
for gtk4.

9 years agosizerequest: Fix min_size > nat_size error message
Timm Bäder [Sun, 5 Mar 2017 13:59:19 +0000 (14:59 +0100)]
sizerequest: Fix min_size > nat_size error message

Instead of mentioning the old _get_preferred_xxx functions, mention
measure() and print the for_size value as well. The orientation is given
by printing either "width" for GTK_ORIENTATION_HORIZONTAL or "height"
for GTK_ORIENTATION_VERTICAL.

9 years agotests/revealer-size: Use gtk_widget_measure
Timm Bäder [Sun, 5 Mar 2017 07:55:55 +0000 (08:55 +0100)]
tests/revealer-size: Use gtk_widget_measure

9 years agotestsuite: Remove :sorted usage
Timm Bäder [Sun, 5 Mar 2017 07:55:26 +0000 (08:55 +0100)]
testsuite: Remove :sorted usage

Not valid CSS anymore.

9 years agotreeviewcolumn: Use gtk_widget_measure to measure widget sizes
Timm Bäder [Sun, 5 Mar 2017 07:50:52 +0000 (08:50 +0100)]
treeviewcolumn: Use gtk_widget_measure to measure widget sizes

9 years agopathbar: Use gtk_widget_measure to measure widget sizes
Timm Bäder [Sun, 5 Mar 2017 07:48:01 +0000 (08:48 +0100)]
pathbar: Use gtk_widget_measure to measure widget sizes

9 years agoUpdate Basque language
Inaki Larranaga Murgoitio [Sat, 4 Mar 2017 16:44:35 +0000 (17:44 +0100)]
Update Basque language

9 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 4 Mar 2017 15:42:55 +0000 (17:42 +0200)]
Updated Lithuanian translation

9 years agowidget: Reword size request documentation
Timm Bäder [Sat, 4 Mar 2017 07:57:50 +0000 (08:57 +0100)]
widget: Reword size request documentation

9 years agotreeview: Use gtk_widget_measure to measure widget sizes
Timm Bäder [Sat, 4 Mar 2017 07:44:03 +0000 (08:44 +0100)]
treeview: Use gtk_widget_measure to measure widget sizes

9 years agomenus: Use gtk_widget_measure to measure widget sizes
Timm Bäder [Sat, 4 Mar 2017 07:18:36 +0000 (08:18 +0100)]
menus: Use gtk_widget_measure to measure widget sizes

9 years agoapplicationwindow: Use gtk_widget_measure to measure widget sizes
Timm Bäder [Sat, 4 Mar 2017 07:18:21 +0000 (08:18 +0100)]
applicationwindow: Use gtk_widget_measure to measure widget sizes

9 years agoUpdate Catalan translation
Jordi Mas [Sat, 4 Mar 2017 07:41:08 +0000 (08:41 +0100)]
Update Catalan translation

9 years agoUpdate Korean translation
Changwoo Ryu [Fri, 3 Mar 2017 15:40:34 +0000 (15:40 +0000)]
Update Korean translation

9 years agoUpdate Korean translation
Changwoo Ryu [Fri, 3 Mar 2017 15:39:56 +0000 (15:39 +0000)]
Update Korean translation

9 years agoUpdate Basque language
Inaki Larranaga Murgoitio [Fri, 3 Mar 2017 11:53:51 +0000 (12:53 +0100)]
Update Basque language

9 years agoUpdate Basque language
Inaki Larranaga Murgoitio [Fri, 3 Mar 2017 11:52:13 +0000 (12:52 +0100)]
Update Basque language

9 years agoHighContrast/parse-sass.sh: Use a reliable shebang
Daniel Boles [Fri, 3 Mar 2017 08:42:05 +0000 (08:42 +0000)]
HighContrast/parse-sass.sh: Use a reliable shebang

/usr/bin/sh does not exist on e.g. Debian sid.
Use the same shebang as Adwaita/parse-sass.sh

9 years agoAdwaita: style selectionmode checks for flowbox tiles
Jakub Steiner [Thu, 2 Mar 2017 11:39:02 +0000 (12:39 +0100)]
Adwaita: style selectionmode checks for flowbox tiles

- continue being asset based rather than drawn by CSS
- using node 'check' rather than style '.check'

https://bugzilla.gnome.org/show_bug.cgi?id=779074

9 years agoAdwaita: style flowbox tiles
Jakub Steiner [Thu, 16 Feb 2017 19:34:50 +0000 (20:34 +0100)]
Adwaita: style flowbox tiles

+ fixups by Daniel Boles from gtk-3-22

https://bugzilla.gnome.org/show_bug.cgi?id=779073

9 years agogtk-demo: Add 3fg touchpad swipe handling to gestures demo
Carlos Garnacho [Thu, 2 Mar 2017 17:18:31 +0000 (18:18 +0100)]
gtk-demo: Add 3fg touchpad swipe handling to gestures demo

We can handle those on wayland, so we should show it's possible.

9 years agogtkgesturesingle: Fallback to GtkGesture handling on GDK_TOUCHPAD_SWIPE
Carlos Garnacho [Thu, 2 Mar 2017 17:14:00 +0000 (18:14 +0100)]
gtkgesturesingle: Fallback to GtkGesture handling on GDK_TOUCHPAD_SWIPE

There are GtkGestureSingle subclasses that can be made to handle multiple
fingers (GtkGestureSingle is a subclass of GtkGesture, and not the
opposite, after all). And GtkGestureSwipe already tries to handle
GDK_TOUCHPAD_SWIPE events, except this event handler silently ignores
those.

Falling back to the GtkGesture generic handler which already
handles touchpad gesture events fixes this.

9 years agoplacesview: Simplify button construction
Timm Bäder [Thu, 2 Mar 2017 13:06:01 +0000 (14:06 +0100)]
placesview: Simplify button construction

9 years agoplacessidebar: Fix css node name typo
Timm Bäder [Thu, 2 Mar 2017 13:05:46 +0000 (14:05 +0100)]
placessidebar: Fix css node name typo

9 years agowidgetnode: Remove unused define
Timm Bäder [Tue, 28 Feb 2017 13:22:39 +0000 (14:22 +0100)]
widgetnode: Remove unused define

9 years agocssnodestylecache: Use const pointer in lookup
Timm Bäder [Tue, 28 Feb 2017 07:23:19 +0000 (08:23 +0100)]
cssnodestylecache: Use const pointer in lookup

9 years agogdkwindow: Plug memory leak
Timm Bäder [Mon, 27 Feb 2017 14:33:45 +0000 (15:33 +0100)]
gdkwindow: Plug memory leak

gdk_drawing_context_get_clip returns a newly allocated cairo_region_t,
so we have to destroy it.

9 years agoswitch: remove unnecessary gtk_widget_show calls
Timm Bäder [Thu, 23 Feb 2017 16:07:52 +0000 (17:07 +0100)]
switch: remove unnecessary gtk_widget_show calls

9 years agocssselector: Stop parsing deprecated selectors
Timm Bäder [Sun, 19 Feb 2017 15:09:17 +0000 (16:09 +0100)]
cssselector: Stop parsing deprecated selectors

9 years agocsswidgetnode: Remove unused include
Timm Bäder [Sun, 19 Feb 2017 14:25:46 +0000 (15:25 +0100)]
csswidgetnode: Remove unused include

9 years agoConvince OS X to fully fullscreen windows
Matthias Clasen [Tue, 28 Feb 2017 23:44:33 +0000 (18:44 -0500)]
Convince OS X to fully fullscreen windows

We typically want to have the full screen given to
the content, not the aspect-ratio preserving behavior
that newer OS X has.

https://bugzilla.gnome.org/show_bug.cgi?id=779383

9 years agoUpdate Icelandic translation
Sveinn í Felli [Thu, 2 Mar 2017 12:59:38 +0000 (12:59 +0000)]
Update Icelandic translation

(cherry picked from commit 36e1761c8479a88bb29619f404e34c68f96c2dc9)

9 years agoUpdated Danish translation
Ask Hjorth Larsen [Thu, 2 Mar 2017 12:24:10 +0000 (13:24 +0100)]
Updated Danish translation

9 years agoUpdated Danish translation
Ask Hjorth Larsen [Thu, 2 Mar 2017 12:15:47 +0000 (13:15 +0100)]
Updated Danish translation

9 years agoUpdate Icelandic translation
Sveinn í Felli [Thu, 2 Mar 2017 11:54:46 +0000 (11:54 +0000)]
Update Icelandic translation

(cherry picked from commit fb53855fc8f286d8cef7cf7a31cecef048b6a0ad)

9 years agoImplement backdrop for Quartz
Matthias Clasen [Wed, 1 Mar 2017 01:45:18 +0000 (20:45 -0500)]
Implement backdrop for Quartz

We need to send window state change events to make GTK+
pick up on focus changed for backdrop.

https://bugzilla.gnome.org/show_bug.cgi?id=779392

9 years agoquartz: Let CSD windows be fullscreen
Matthias Clasen [Tue, 28 Feb 2017 22:07:55 +0000 (17:07 -0500)]
quartz: Let CSD windows be fullscreen

I've found that I need this patch to make it possible for
windows with headerbar to be made fullscreen on OS X.

https://bugzilla.gnome.org/show_bug.cgi?id=779383

9 years agowayland: make sure to clear up the number of keys
Olivier Fourdan [Tue, 28 Feb 2017 17:17:39 +0000 (18:17 +0100)]
wayland: make sure to clear up the number of keys

Make sure to clear up the number of keys being pressed on enter/leave so
that we don't end up with leftovers if a new window is mapped by a
keyboard shortcut.

https://bugzilla.gnome.org/show_bug.cgi?id=779374

9 years agoFix bad check of GtkActionPadType in gtk_pad_controller_set_action
cedlemo [Mon, 27 Feb 2017 17:08:17 +0000 (18:08 +0100)]
Fix bad check of GtkActionPadType in gtk_pad_controller_set_action

https://bugzilla.gnome.org/show_bug.cgi?id=779317

9 years agomir: deprecate gdk_mir_window_get_mir_surface ()
William Hua [Tue, 28 Feb 2017 14:51:44 +0000 (09:51 -0500)]
mir: deprecate gdk_mir_window_get_mir_surface ()

9 years agomir: delete commented debug output
William Hua [Mon, 27 Feb 2017 23:28:05 +0000 (18:28 -0500)]
mir: delete commented debug output

9 years agomir: migrate away from deprecated mir api
William Hua [Thu, 23 Feb 2017 18:42:45 +0000 (13:42 -0500)]
mir: migrate away from deprecated mir api

9 years agomir: move #include to correct file
William Hua [Thu, 23 Feb 2017 18:25:27 +0000 (13:25 -0500)]
mir: move #include to correct file

9 years agoUpdate French translation
Charles Monzat [Tue, 28 Feb 2017 22:53:56 +0000 (22:53 +0000)]
Update French translation

9 years agoUpdate German translation
Mario Blättermann [Tue, 28 Feb 2017 17:59:02 +0000 (17:59 +0000)]
Update German translation

9 years agoUpdate Icelandic translation
Sveinn í Felli [Tue, 28 Feb 2017 14:27:54 +0000 (14:27 +0000)]
Update Icelandic translation

9 years agoRange: Remove leftover comment about update policy
Daniel Boles [Mon, 27 Feb 2017 20:04:02 +0000 (20:04 +0000)]
Range: Remove leftover comment about update policy

Update policies were removed way back in 2011… in
commit c43a31ea33fe048fe74cd669418bea58d544ffab

9 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 27 Feb 2017 17:51:37 +0000 (18:51 +0100)]
Updated Spanish translation

9 years agoUpdate Hungarian translation
Balázs Meskó [Mon, 27 Feb 2017 14:24:19 +0000 (14:24 +0000)]
Update Hungarian translation

9 years agowayland: do not cancel key repeat on key press
Olivier Fourdan [Thu, 2 Feb 2017 09:43:45 +0000 (10:43 +0100)]
wayland: do not cancel key repeat on key press

The key repeat is stopped as soon as a key is pressed, so if the user
quickly presses a key while another is already pressed and being
repeated, key repeat gets cancelled:

 - key1 press
 - key1 repeat
 - key2 press -> key1 repeat stopped
 - key1 release
 - key 2 is not repeated even though it's kept depressed

This is a different behavior from X11, which confuses migrating users.

To mimic the X11 behavior, keep track of the number of keys pressed
simultaneously and cancel key repeat only when none is pressed.

This way, if a user pressed a key while another one is being repeated,
the new key press can possibly be repeated as well.

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=778019

9 years agoUpdate Spanish translation
Daniel Mustieles [Mon, 27 Feb 2017 08:46:49 +0000 (08:46 +0000)]
Update Spanish translation

9 years agoUpdate Galician translation
Fran Dieguez [Sun, 26 Feb 2017 21:40:50 +0000 (21:40 +0000)]
Update Galician translation

9 years agoUpdate Galician translation
Fran Dieguez [Sun, 26 Feb 2017 21:38:03 +0000 (21:38 +0000)]
Update Galician translation

9 years agoUpdate Polish translation
Piotr Drąg [Sun, 26 Feb 2017 20:10:18 +0000 (21:10 +0100)]
Update Polish translation

9 years agoUpdate Hungarian translation
Balázs Meskó [Sun, 26 Feb 2017 12:13:38 +0000 (12:13 +0000)]
Update Hungarian translation

9 years agoUpdate Hungarian translation
Balázs Meskó [Sun, 26 Feb 2017 11:33:44 +0000 (11:33 +0000)]
Update Hungarian translation

9 years agoUpdated Serbian translation
Мирослав Николић [Sun, 26 Feb 2017 08:09:32 +0000 (09:09 +0100)]
Updated Serbian translation

9 years agoUpdated Serbian translation
Мирослав Николић [Sun, 26 Feb 2017 08:08:54 +0000 (09:08 +0100)]
Updated Serbian translation

9 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Fri, 24 Feb 2017 20:16:51 +0000 (20:16 +0000)]
Update Brazilian Portuguese translation

9 years agoUpdate Italian translation
Milo Casagrande [Fri, 24 Feb 2017 15:53:43 +0000 (15:53 +0000)]
Update Italian translation

9 years agowayland: Fix a race condition with xdg_popup resize
Olivier Fourdan [Fri, 25 Nov 2016 13:24:52 +0000 (14:24 +0100)]
wayland: Fix a race condition with xdg_popup resize

When resizing an xdg_popup immediately after the initial mapping, there
is a race condition between the client and the compositor which is
processing the initial size given by the xdg_positioner, leading to the
xdg_popup to be eventually of the wrong size.

Only way to make sure the size is correct in that case is to hide and
show the window again. Considering this occurs before the initial
configure is processed, it should not be noticeable.

https://bugzilla.gnome.org/show_bug.cgi?id=772505

9 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Fri, 24 Feb 2017 04:42:31 +0000 (04:42 +0000)]
Update Kazakh translation

9 years agoInspector: Use Title Case for labels & menu items
Daniel Boles [Thu, 23 Feb 2017 18:33:39 +0000 (18:33 +0000)]
Inspector: Use Title Case for labels & menu items

https://developer.gnome.org/hig/stable/writing-style.html.en

https://bugzilla.gnome.org/show_bug.cgi?id=779147

9 years agoFix Catalan translation
Jordi Mas [Thu, 23 Feb 2017 17:33:10 +0000 (18:33 +0100)]
Fix Catalan translation

9 years agoUpdate Catalan translation
Jordi Mas [Thu, 23 Feb 2017 07:28:36 +0000 (08:28 +0100)]
Update Catalan translation

9 years agoTextView—Avoid pointless Pango in iter_line_is_rtl
Daniel Boles [Wed, 22 Feb 2017 21:24:48 +0000 (21:24 +0000)]
TextView—Avoid pointless Pango in iter_line_is_rtl

Get the direction that was already worked out and stored in the
TextLineDisplay, rather than making Pango figure it out again.

https://bugzilla.gnome.org/show_bug.cgi?id=136059

9 years agoTextView—Plug a memory leak
Daniel Boles [Wed, 22 Feb 2017 21:24:45 +0000 (21:24 +0000)]
TextView—Plug a memory leak

Thanks to Nelson Benitez for pointing this out.

https://bugzilla.gnome.org/show_bug.cgi?id=136059

9 years agoRevert "testsuite/scrolledwindow—Test non-overlay/non-auto"
Daniel Boles [Wed, 22 Feb 2017 19:26:14 +0000 (19:26 +0000)]
Revert "testsuite/scrolledwindow—Test non-overlay/non-auto"

This reverts commit 5a6e6689ec9c3158832848f951b259cd1eeaa777.

Reverting until I can be sure gtkscrolledwindow.c does the right thing.

https://bugzilla.gnome.org/show_bug.cgi?id=778853

9 years agoRevert "ScrolledWindow—Don’t req size for auto-hidden bars"
Daniel Boles [Wed, 22 Feb 2017 19:13:49 +0000 (19:13 +0000)]
Revert "ScrolledWindow—Don’t req size for auto-hidden bars"

This reverts commit 901e5ff3a36b74b8ae4c19f4f20e84bc70b44913.

This causes criticals in e.g. the Text View: Multiple Buffers demo.
More work is required to get a fix for Bug 778853 that does not cause
anything else to regress.

https://bugzilla.gnome.org/show_bug.cgi?id=778853

9 years agoScale: Fix erroneously removed : in a signal doc
Daniel Boles [Wed, 22 Feb 2017 08:51:36 +0000 (08:51 +0000)]
Scale: Fix erroneously removed : in a signal doc

9 years agoUpdate Chinese (Taiwan) translation
Chao-Hsiung Liao [Wed, 22 Feb 2017 01:14:45 +0000 (01:14 +0000)]
Update Chinese (Taiwan) translation

9 years agoUpdate Chinese (Taiwan) translation
Chao-Hsiung Liao [Wed, 22 Feb 2017 01:11:15 +0000 (01:11 +0000)]
Update Chinese (Taiwan) translation

9 years agoFrame—Note set_label always destroys :label-widget
Daniel Boles [Tue, 21 Feb 2017 21:18:01 +0000 (21:18 +0000)]
Frame—Note set_label always destroys :label-widget

The fact that it doesn’t reuse the existing GtkLabel if present is not
immediately obvious to users (or is it just me?), so clarify that the
pre-existing :label-widget, if any, is always removed and replaced.

9 years agoFrame—Clarify relationship of :shadow-type & .flat
Daniel Boles [Tue, 21 Feb 2017 21:13:43 +0000 (21:13 +0000)]
Frame—Clarify relationship of :shadow-type & .flat

9 years agoUpdate Italian translation
Milo Casagrande [Tue, 21 Feb 2017 18:14:10 +0000 (18:14 +0000)]
Update Italian translation

9 years agoUpdate Italian translation
Milo Casagrande [Tue, 21 Feb 2017 18:10:44 +0000 (18:10 +0000)]
Update Italian translation

9 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Tue, 21 Feb 2017 10:26:48 +0000 (10:26 +0000)]
Update Brazilian Portuguese translation

9 years agoUpdate Polish translation
Piotr Drąg [Sun, 19 Feb 2017 18:32:05 +0000 (19:32 +0100)]
Update Polish translation

9 years agoFrame: Explain the .flat style class
Daniel Boles [Sun, 19 Feb 2017 17:17:58 +0000 (17:17 +0000)]
Frame: Explain the .flat style class

9 years agotestsuite/scrolledwindow—Test non-overlay/non-auto
djb [Fri, 17 Feb 2017 21:31:26 +0000 (21:31 +0000)]
testsuite/scrolledwindow—Test non-overlay/non-auto

It was only testing the default configuration where overlay-scrolling is
TRUE and the policy is POLICY_AUTOMATIC. We should also test FALSE and
POLICY_ALWAYS. This commit adds those tests and makes the !overlay &&
POLICY_ALWAYS case pass by excluding the size of the relevant scrollbar,
as we are only interested in whether the content size is as requested.

https://bugzilla.gnome.org/show_bug.cgi?id=778853

9 years agoScrolledWindow—Don’t req size for auto-hidden bars
Daniel Boles [Fri, 17 Feb 2017 19:48:42 +0000 (19:48 +0000)]
ScrolledWindow—Don’t req size for auto-hidden bars

POLICY_AUTOMATIC means scrollbars are only shown when needed, i.e. when
the size of the window is not large enough to show the entire child. So
when measuring the preferred size, such scrollbars should be ignored.

But measure() was adding size for bars for which policy_may_be_visible()
was TRUE, which it returns for POLICY_ALWAYS (good) & _AUTOMATIC (bad).
So we reserved space for child plus scrollbars, & because we have enough
space for the child, POLICY_AUTOMATIC hides the scrollbar, leaving the
extra reserved space empty at the right/bottom sides of the child. This
is very noticeable/inconvenient for non-overlay, automatic scrollbars.

Fix this by only requesting size for scrollbars that use POLICY_ALWAYS,
rather than basing the decision on policy_may_be_visible().

https://bugzilla.gnome.org/show_bug.cgi?id=778853

9 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sun, 19 Feb 2017 15:52:40 +0000 (16:52 +0100)]
Updated Norwegian bokmål translation.

9 years agoTextView—Fix inverted movements by arrows in RTL
Daniel Boles [Sat, 18 Feb 2017 22:50:00 +0000 (22:50 +0000)]
TextView—Fix inverted movements by arrows in RTL

Using Ctrl + left/right to skip between words, or left/right to cancel a
selection, were causing movement on the screen in the opposite direction
of the glyph on the key. This was surprising and awful UX for RTL users.

This is based on a patch covering the former case by:
Author:    Mehdi Sadeghi <mehdi@mehdix.org>
Date:      Sat Feb 18 02:16:00 2017 +0000

https://bugzilla.gnome.org/show_bug.cgi?id=136059

9 years agoEntry: Add newlines to ease reading huge switches
Daniel Boles [Sat, 18 Feb 2017 22:50:00 +0000 (22:50 +0000)]
Entry: Add newlines to ease reading huge switches

These are monstrosities!

9 years agoEntry—Fix inverted movements by arrow keys in RTL
Daniel Boles [Sat, 18 Feb 2017 22:50:00 +0000 (22:50 +0000)]
Entry—Fix inverted movements by arrow keys in RTL

Using Ctrl + left/right to skip between words, or left/right to cancel a
selection, were causing movement on the screen in the opposite direction
of the glyph on the key. This was surprising and awful UX for RTL users.

This is based on a patch covering the former case by:
Author:    Ori Avtalion <ori@avtalion.name>
Date:      Tue Apr 20 08:06:23 2010 +0000

https://bugzilla.gnome.org/show_bug.cgi?id=136059

9 years agoScale: Fix signal documentation syntax
Daniel Boles [Sun, 19 Feb 2017 10:13:34 +0000 (10:13 +0000)]
Scale: Fix signal documentation syntax

Oops, sorry. Thanks to Cristoph Reiter for correcting me on this.